1. Open the links.js file.
2. Replace the getOcpHostname function with the new getFileDownloadUrl function.
3. Open the webChat.js file.
4. Replace the notifyFileTransfer function with that from the SDK. The critical part is that your new version calls the links.getFileDownloadUrl function
5. Remove the replaceFileTransferHost function.